﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<EnterpriseManagement.Models.DeleteUserModel>" %>

<div id="deleteuser">
    <h1>DeleteUser</h1>
     <br /><br />
   <% using (Ajax.BeginForm("DeleteUser", new AjaxOptions { UpdateTargetId = "deleteuser" })){%>
        <%: Html.ValidationSummary(true) %>
        
            <table id="tablenoframe" style =" margin:0 20%">
            <tr>
            <td class="label"><%: Html.LabelFor(model => model.EmployeeId) %></td>
            <td class="editor-field">
                <%: Html.TextBoxFor(model => model.EmployeeId) %>
                <%: Html.ValidationMessageFor(model => model.EmployeeId) %>
            </td>
            </tr>

            <tr>
            <td class="label"><%: Html.LabelFor(model => model.SuperPassword) %></td>
            <td class="editor-field">
                <%: Html.PasswordFor (model => model.SuperPassword) %>
                <%: Html.ValidationMessageFor(model => model.SuperPassword) %>
            </td>
            </tr>
             <tr>
                <td></td><td><input type="submit" value="删除账号" style ="margin-left:80px;position:absolute" /></td>
              </tr>
            </table>
           
  

    <% } %>
    </div>